package com.itheima.Demo;

import com.itheima.service.UserService;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Demo {
    @Test
    public void test01(){
        ApplicationContext ac=new ClassPathXmlApplicationContext("spring.xml");
        UserService service = ac.getBean(UserService.class);
        service.moveMoney("mark","lucy",100);
    }
}
